package com.leroy.electricmeter.entity;

public class Electricmeter {
    private int id;
    private int userId;
    private String address;
    private double balance;
    private double power;
    private double price;

    @Override
    public String toString() {
        return "electricmeter{" +
                "id=" + id +
                ", userId=" + userId +
                ", address='" + address + '\'' +
                ", balance=" + balance +
                ", power=" + power +
                ", price=" + price +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public double getPower() {
        return power;
    }

    public void setPower(double power) {
        this.power = power;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
